home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Blogowanie poza sfera
/
Qumana 3.0.1
/
Qumana-3.0.1-en-qumana.exe
/
Qumana.exe
/
com
/
qumana
/
data
/
BlogPost.hbm.xml
< prev
next >
Wrap
Extensible Markup Language
|
2006-11-27
|
2KB
|
112 lines
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
<hibernate-mapping package="com.qumana.data">
<class
name="BlogPost"
table="BLOGPOSTS">
<id
name="id"
column="POST_ID"
type="long">
<generator class="native"/>
</id>
<many-to-one
name="blog"
column="BLOG_ID"
class="Blog"
not-null="true"/>
<property
name="allowComments"
column="ALLOW_COMMENTS"
type="boolean"/>
<property
name="allowTrackbacks"
column="ALLOW_TRACKBACKS"
type="boolean"/>
<property
name="author"
column="AUTHOR"
type="string"/>
<set
name="categories"
table="POST_CATEGORIES">
<key column="POST_ID"/>
<many-to-many
class="Category"
column="CATEGORY_ID"/>
</set>
<property
name="content"
column="CONTENT"
type="string"/>
<property
name="convertBreaks"
column="CONVERT_BREAKS"
type="string"/>
<property
name="dateCreated"
column="DATE_CREATED"
type="timestamp"/>
<property
name="datePublished"
column="DATE_PUBLISHED"
type="timestamp"/>
<property
name="excerpt"
column="EXCERPT"
type="string"/>
<property
name="keywords"
column="KEYWORDS"
type="string"/>
<property
name="link"
column="LINK"
type="string"/>
<property
name="postId"
column="ID"
type="string"/>
<property
name="status"
column="STATUS"
type="integer"/>
<property
name="posted"
column="POSTED"
type="boolean"/>
<property
name="textMore"
column="TEXT_MORE"
type="string"/>
<property
name="title"
column="TITLE"
type="string"/>
<property
name="trackbackUrls"
column="TRACKBACK_URLS"
type="string"/>
</class>
</hibernate-mapping>